﻿<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
    <title></title>
    <link href="res/style/map.css" rel="stylesheet" />
    <style type="text/css">
        .info { background-color: white; }
    </style>
</head>
<body>
    <div id="container_goMap"></div>
 
    <script src="../assets/jsplugin/jquery-1.11.1.min.js"></script>
    <script src="../assets/jsplugin/core.js"></script>
    <script type="text/javascript"
            src="http://webapi.amap.com/maps?v=1.3&key=4c1fe1c318f1e93e5f7652b7d70ea528&t=2.2.0"></script>
    <script type="text/javascript" src="http://cache.amap.com/lbs/static/addToolbar.js"></script>

    <script src="ux/listMap.js"></script>
</body>
</html>
<script type="text/html" id="eform">
    <div class="smart-widget-hidden-section" id="edit-div">
        <form class="editform" id="edit-form">
            <input type="hidden" name="id" />
            <div class="form-group">
                <div class="input-group col-lg-12">
                    <span class="input-group-addon">站场姓名</span>
                    <input type="text" name="name" class="form-control" placeholder="站场姓名">
                </div>
            </div>
            <div class="form-group">
                <div class="input-group col-lg-12">
                    <span class="input-group-addon">站场编码</span>
                    <input type="text" name="code" class="form-control" placeholder="站场编码">
                </div>
                <span class="help-block">温馨提示：规则为：ST+4位数字，如：ST0001</span>
            </div>
            <div class="form-group">
                <div class="input-group col-lg-12">
                    <span class="input-group-addon">所属省</span>
                    <input type="text" name="province" class="form-control" placeholder="所属省">
                </div>
            </div>
            <div class="form-group">
                <div class="input-group col-lg-12">
                    <span class="input-group-addon">所属城市</span>
                    <input type="text" name="city" class="form-control" placeholder="所属城市">
                </div>
            </div>
            <div class="form-group">
                <div class="input-group col-lg-12">
                    <span class="input-group-addon">所属区县</span>
                    <input type="text" name="area" class="form-control" placeholder="所属区县">
                </div>
            </div>
            <div class="form-group">
                <div class="input-group col-lg-12">
                    <span class="input-group-addon">详细地址</span>
                    <input type="text" name="address" class="form-control" placeholder="站场详细地址，龙口东路363号">
                </div>
            </div>
            <div class="form-group">
                <div class="input-group col-lg-12">
                    <span class="input-group-addon">状态</span>
                    <select class="form-control" name="status">
                        <option value="2">正常</option>
                        <option value="1">禁用</option>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <div class="input-group col-lg-12">
                    <span class="input-group-addon">位置</span><!-- readonly="readonly" -->
                    <input type="text" name="site" class="form-control" a-type="sel-map" readonly="readonly" placeholder="请选择位置>">
                    <span class="input-group-btn"><a href="javascript:;" class="btn btn-primary" a-type="clear-map">清空</a></span>
                </div>
            </div>
            <div class="form-group">
                <div class="input-group col-lg-12">
                    <label class="col-lg-4 control-label">更新站场相片</label>
                    <div class="col-lg-8">
                        <input type="file" name="file" accept=".png,.jpg,.jpeg,.gif" id="picture">
                    </div>
                </div>
            </div>
            <img id="picture-path" src="" alt="站场相片" style="margin-bottom:20px;display: none;">
            <button type="button" hy-type-submit class="btn btn-sm btn-success">保存</button>
        </form>
    </div>
</script>